package com.ttc.ssm.service.home.impl;

import com.ttc.ssm.mapper.home.HomeAdMapper;
import com.ttc.ssm.po.Ad;
import com.ttc.ssm.service.home.HomeAdService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by 58296 on 2016/8/19.
 */
public class HomeAdServiceImpl implements HomeAdService {
    @Autowired
    HomeAdMapper homeAdMapper;

    @Override
    public List<Ad> selectAd() throws Exception {
        return homeAdMapper.selectAd();
    }
}
